package com.sailfish.springbootdemo.service.db1;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db1.LineBaseSmallType;
import com.sailfish.springbootdemo.pojo.db1.LineTechSmallType;

import java.util.List;

public interface LineTechSmallTypeService {

    List<LineTechSmallType> getAllLineTechSmallTypeByBigType(String searchValue, Integer lineTechBigTypeId);

    /**
     * 新增或者更新
     *
     * @return
     */
    Result addOrUpdateLineTechSmallType(LineTechSmallType lineTechSmallType, String mode);

    /**
     * 删除
     *
     * @param lineTechSmallTypeId
     * @return
     */
    Result deleteLineTechSmallType(Integer lineTechSmallTypeId);
}
